package com.ulic.customerManApplication.messagemodule.dao;

import com.ulic.customerManApplication.commonmodule.bo.BirthdayMessage;
import com.ulic.customerManApplication.messagemodule.bo.MessageRecord;
import com.ulic.customerManApplication.messagemodule.vo.MessageRecordVO;
import com.ulic.customerManApplication.pager.PagerModel;
import com.ulic.customerManApplication.usermodule.bo.User;

public interface MessageDao {

	public PagerModel getMessageRecords(int curPage);
	   
    public PagerModel getMessageRecords(MessageRecordVO messageRecordVO,int curPage);
    
    public void insertBirthdayBless(BirthdayMessage birthdayMessage);
    
    public MessageRecord getMessageRecordById(int id);
    
    public void insertMessageRecords(MessageRecord messageRecord);
    
    public void deleteMessageRecord(MessageRecord messageRecord);
    
    public BirthdayMessage getBirthdayMessageByType(User user,String type);
}
